//
//  TestBedViewController.h
//  iPhoneDev02
//
//  Created by smu on 11-7-17.
//  Copyright 2011年 duk. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>

#define COOKBOOK_PURPLE_COLOR	[UIColor colorWithRed:0.20392f green:0.19607f blue:0.61176f alpha:1.0f]
#define BARBUTTON(TITLE, SELECTOR) [[[UIBarButtonItem alloc] initWithTitle:TITLE style:UIBarButtonItemStylePlain target:self action:SELECTOR] autorelease];


// relatively short movie (3 MB)
#define SMALL_URL	@"http://192.168.0.100/smu/test/1.mp4"
// bigger movie (23 MB)
#define BIG_URL @"http://192.168.0.100/smu/test/1.mp4"
// Wrong URL
#define FAKE_URL @"http://www.idontbelievethisisavalidurlforthisexample.com"
//文件存放路径
#define DEST_PATH	[NSHomeDirectory() stringByAppendingString:@"/Documents/"]

@interface TestBedViewController : UIViewController {
    NSMutableString *log;
    IBOutlet UITextView *textView;
    NSString *savePath;
}
@property (retain) NSMutableString *log;
@property (retain) NSString *savePath;
- (void) doLog: (NSString *) formatstring, ...;

@end




